package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.exception.CheckItemDeleteFailException;
import com.itheima.pojo.CheckItem;

import java.util.List;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/12/16 22:24
 */
public interface CheckItemService
{
    void add(CheckItem checkItem);

    PageResult pageQuery(QueryPageBean queryPageBean);

    void deleteById(Integer id) throws CheckItemDeleteFailException;

    void edit(CheckItem checkItem);

    CheckItem findById(Integer id);

    List<CheckItem> findAll();
}
